export const VALIDATE_EXPRESSION = {
  TELORPHONE: {
    value: /^((0\d{2,3}-?\d{7,8})|(1(3[0-9]|4[01456879]|5[0-35-9]|6[2567]|7[0-8]|8[0-9]|9[0-35-9])\d{8}))$/,
    desc: '手机号/电话'
  },
  IDCARD: {
    value: /^(([1][1-5])|([2][1-3])|([3][1-7])|([4][1-6])|([5][0-4])|([6][1-5])|([7][1])|([8][1-2]))\d{4}(([1][9]\d{2})|([2]\d{3}))(([0][1-9])|([1][0-2]))(([0][1-9])|([1-2][0-9])|([3][0-1]))\d{3}[0-9xX]$/,
    desc: '身份证号'
  },
  EMAIL: {
    value: /\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/,
    desc: '邮箱'
  },
  PASSPORT: {
    // value: /^([a-zA-Z][0-9]){5,17}$/,
    value: /(^[EeGgHhKkSsDdPp]\d{8}$)|(^((1[45])|([SsDdPp][Ee])|([HhKk][Jj])|([Mm][AaBb])|([Ee][A-Za-z]))\d{7}$)/,
    desc: '护照'
  }
}
